package com.property.manage.model.equipment;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.lang.reflect.Type;
import java.math.BigDecimal;
import java.time.LocalDate;

@Data
@TableName("t_equipment_maintenance")
@ApiModel("设备维修与保养记录表")
public class MaintenanceEntity {
    @TableId(type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty("设备id")
    private Integer equipmentId;
    @ApiModelProperty("保养和维修时间")
    private LocalDate maintenanceTime;
    @ApiModelProperty("下次保养和维修时间")
    private LocalDate nextTime;
    @ApiModelProperty("费用")
    private BigDecimal money;
    @ApiModelProperty("维修人员")
    private String personnel;
    private String phone;
}
